im: Deprecate gtk_im_multicontext_append_menuitems
authorChristian Persch <chpe@gnome.org>
Sat, 8 Jun 2013 11:53:21 +0000 (13:53 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 9 Jun 2013 13:51:55 +0000 (09:51 -0400)
Bug #701840.

gtk/gtkimmulticontext.c
gtk/gtkimmulticontext.h

index 712d5ca8736d83396e7295ca70b4f49796efd579..4fc9cf15c159d25d898cf9626119cc77354fc041 100644 (file)
@@ -592,6 +592,11 @@ pathnamecmp (const char *a,
  * Add menuitems for various available input methods to a menu;
  * the menuitems, when selected, will switch the input method
  * for the context and the global default input method.
+ *
+ * Deprecated: 3.10: It is better to use the system-wide input
+ *     method framework for changing input methods. Modern
+ *     desktop shells offer on-screen displays for this that
+ *     can triggered with a keyboard shortcut, e.g. Super-Space.
  **/
 void
 gtk_im_multicontext_append_menuitems (GtkIMMulticontext *context,
index 6ab022e1e04f6d15fb9692c4172d69ff7033c803..77bc70c0d14bc1449b3ac2c6438eb850e4bf4506 100644 (file)
@@ -63,7 +63,7 @@ GType         gtk_im_multicontext_get_type (void) G_GNUC_CONST;
 GDK_AVAILABLE_IN_ALL
 GtkIMContext *gtk_im_multicontext_new      (void);
 
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
 void          gtk_im_multicontext_append_menuitems (GtkIMMulticontext *context,
                                                    GtkMenuShell      *menushell);
 GDK_AVAILABLE_IN_ALL